class RenameVotesToRating < ActiveRecord::Migration
  def self.up
    rename_column :feedbacks, :votes, :rating
  end

  def self.down
    rename_column :feedbacks, :rating, :votes
  end
end
